<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>InfdXmlServer</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.76.0">
<link rel="home" href="index.html" title="libinfinity-0.4 Reference Manual">
<link rel="up" href="ch05.html" title="Libinfinity server side API">
<link rel="prev" href="InfdTcpServer.html" title="InfdTcpServer">
<link rel="next" href="InfdXmppServer.html" title="InfdXmppServer">
<meta name="generator" content="GTK-Doc V1.15 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
<tr valign="middle">
<td><a accesskey="p" href="InfdTcpServer.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="ch05.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">libinfinity-0.4 Reference Manual</th>
<td><a accesskey="n" href="InfdXmppServer.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#InfdXmlServer.synopsis" class="shortcut">Top</a>
                   | 
                  <a href="#InfdXmlServer.description" class="shortcut">Description</a>
                   | 
                  <a href="#InfdXmlServer.object-hierarchy" class="shortcut">Object Hierarchy</a>
                   | 
                  <a href="#InfdXmlServer.prerequisites" class="shortcut">Prerequisites</a>
                   | 
                  <a href="#InfdXmlServer.implementations" class="shortcut">Known Implementations</a>
                   | 
                  <a href="#InfdXmlServer.properties" class="shortcut">Properties</a>
                   | 
                  <a href="#InfdXmlServer.signals" class="shortcut">Signals</a>
</td></tr>
</table>
<div class="refentry" title="InfdXmlServer">
<a name="InfdXmlServer"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="InfdXmlServer.top_of_page"></a>InfdXmlServer</span></h2>
<p>InfdXmlServer</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv" title="Synopsis">
<a name="InfdXmlServer.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">                    <a class="link" href="InfdXmlServer.html#InfdXmlServer-struct" title="InfdXmlServer">InfdXmlServer</a>;
                    <a class="link" href="InfdXmlServer.html#InfdXmlServerIface" title="InfdXmlServerIface">InfdXmlServerIface</a>;
enum                <a class="link" href="InfdXmlServer.html#InfdXmlServerStatus" title="enum InfdXmlServerStatus">InfdXmlServerStatus</a>;
<span class="returnvalue">void</span>                <a class="link" href="InfdXmlServer.html#infd-xml-server-close" title="infd_xml_server_close ()">infd_xml_server_close</a>               (<em class="parameter"><code><a class="link" href="InfdXmlServer.html" title="InfdXmlServer"><span class="type">InfdXmlServer</span></a> *server</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="InfdXmlServer.html#infd-xml-server-new-connection" title="infd_xml_server_new_connection ()">infd_xml_server_new_connection</a>      (<em class="parameter"><code><a class="link" href="InfdXmlServer.html" title="InfdXmlServer"><span class="type">InfdXmlServer</span></a> *server</code></em>,
                                                         <em class="parameter"><code><a class="link" href="InfXmlConnection.html" title="InfXmlConnection"><span class="type">InfXmlConnection</span></a> *connection</code></em>);
</pre>
</div>
<div class="refsect1" title="Object Hierarchy">
<a name="InfdXmlServer.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
  GInterface
   +----InfdXmlServer
</pre>
</div>
<div class="refsect1" title="Prerequisites">
<a name="InfdXmlServer.prerequisites"></a><h2>Prerequisites</h2>
<p>
InfdXmlServer requires
 <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>.</p>
</div>
<div class="refsect1" title="Known Implementations">
<a name="InfdXmlServer.implementations"></a><h2>Known Implementations</h2>
<p>
InfdXmlServer is implemented by
 <a class="link" href="InfdXmppServer.html" title="InfdXmppServer">InfdXmppServer</a>.</p>
</div>
<div class="refsect1" title="Properties">
<a name="InfdXmlServer.properties"></a><h2>Properties</h2>
<pre class="synopsis">
  "<a class="link" href="InfdXmlServer.html#InfdXmlServer--status" title='The "status" property'>status</a>"                   <a class="link" href="InfdXmlServer.html#InfdXmlServerStatus" title="enum InfdXmlServerStatus"><span class="type">InfdXmlServerStatus</span></a>   : Read
</pre>
</div>
<div class="refsect1" title="Signals">
<a name="InfdXmlServer.signals"></a><h2>Signals</h2>
<pre class="synopsis">
  "<a class="link" href="InfdXmlServer.html#InfdXmlServer-new-connection" title='The "new-connection" signal'>new-connection</a>"                                 : Run Last
</pre>
</div>
<div class="refsect1" title="Description">
<a name="InfdXmlServer.description"></a><h2>Description</h2>
<p>
</p>
</div>
<div class="refsect1" title="Details">
<a name="InfdXmlServer.details"></a><h2>Details</h2>
<div class="refsect2" title="InfdXmlServer">
<a name="InfdXmlServer-struct"></a><h3>InfdXmlServer</h3>
<pre class="programlisting">typedef struct _InfdXmlServer InfdXmlServer;</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" title="InfdXmlServerIface">
<a name="InfdXmlServerIface"></a><h3>InfdXmlServerIface</h3>
<pre class="programlisting">typedef struct {
  GTypeInterface parent;

  /* Virtual Table */
  void (*close)(InfdXmlServer* server);

  /* Signals */
  void (*new_connection)(InfdXmlServer* server,
                         InfXmlConnection* connection);
} InfdXmlServerIface;
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" title="enum InfdXmlServerStatus">
<a name="InfdXmlServerStatus"></a><h3>enum InfdXmlServerStatus</h3>
<pre class="programlisting">typedef enum _InfdXmlServerStatus {
  INFD_XML_SERVER_CLOSED,
  INFD_XML_SERVER_CLOSING,
  INFD_XML_SERVER_OPEN,
  INFD_XML_SERVER_OPENING
} InfdXmlServerStatus;
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" title="infd_xml_server_close ()">
<a name="infd-xml-server-close"></a><h3>infd_xml_server_close ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                infd_xml_server_close               (<em class="parameter"><code><a class="link" href="InfdXmlServer.html" title="InfdXmlServer"><span class="type">InfdXmlServer</span></a> *server</code></em>);</pre>
<p>
Closes <em class="parameter"><code>server</code></em>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>server</code></em> :</span></p></td>
<td>A <a class="link" href="InfdXmlServer.html" title="InfdXmlServer"><span class="type">InfdXmlServer</span></a>.
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="infd_xml_server_new_connection ()">
<a name="infd-xml-server-new-connection"></a><h3>infd_xml_server_new_connection ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                infd_xml_server_new_connection      (<em class="parameter"><code><a class="link" href="InfdXmlServer.html" title="InfdXmlServer"><span class="type">InfdXmlServer</span></a> *server</code></em>,
                                                         <em class="parameter"><code><a class="link" href="InfXmlConnection.html" title="InfXmlConnection"><span class="type">InfXmlConnection</span></a> *connection</code></em>);</pre>
<p>
Emits the "new-connection" signal on <em class="parameter"><code>server</code></em>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>server</code></em> :</span></p></td>
<td>A <a class="link" href="InfdXmlServer.html" title="InfdXmlServer"><span class="type">InfdXmlServer</span></a>.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>connection</code></em> :</span></p></td>
<td>A <a class="link" href="InfXmlConnection.html" title="InfXmlConnection"><span class="type">InfXmlConnection</span></a>.
</td>
</tr>
</tbody>
</table></div>
</div>
</div>
<div class="refsect1" title="Property Details">
<a name="InfdXmlServer.property-details"></a><h2>Property Details</h2>
<div class="refsect2" title='The "status" property'>
<a name="InfdXmlServer--status"></a><h3>The <code class="literal">"status"</code> property</h3>
<pre class="programlisting">  "status"                   <a class="link" href="InfdXmlServer.html#InfdXmlServerStatus" title="enum InfdXmlServerStatus"><span class="type">InfdXmlServerStatus</span></a>   : Read</pre>
<p>The status of the server.</p>
<p>Default value: INFD_XML_SERVER_CLOSED</p>
</div>
</div>
<div class="refsect1" title="Signal Details">
<a name="InfdXmlServer.signal-details"></a><h2>Signal Details</h2>
<div class="refsect2" title='The "new-connection" signal'>
<a name="InfdXmlServer-new-connection"></a><h3>The <code class="literal">"new-connection"</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                user_function                      (<a class="link" href="InfdXmlServer.html" title="InfdXmlServer"><span class="type">InfdXmlServer</span></a>    *infdxmlserver,
                                                        <a class="link" href="InfXmlConnection.html" title="InfXmlConnection"><span class="type">InfXmlConnection</span></a> *arg1,
                                                        <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>          user_data)          : Run Last</pre>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>infdxmlserver</code></em> :</span></p></td>
<td>the object which received the signal.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>arg1</code></em> :</span></p></td>
<td>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>user data set when the signal handler was connected.</td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
<div class="footer">
<hr>
          Generated by GTK-Doc V1.15</div>
</body>
</html>